package cn.com.lsy.product.lepao.model.mt.dao;

import cn.com.lsy.product.lepao.model.entities.LpStoreDataTotalTbl;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface MtTotalDataMapper {

    //新注册用户
    BigDecimal selectNewRegisterTotal(Map<String, Object> param);

    //总入场
    BigDecimal selectEnterTotal(Map<String, Object> param);

    //次卡入场
    BigDecimal selectDayCardEnterTotal(Map<String, Object> param);

    //月卡入场
    BigDecimal selectMonthCardEnterTotal(Map<String, Object> param);

    //优惠劵入场
    BigDecimal selectCouponEnterTotal(Map<String, Object> param);

    //新增月卡
    BigDecimal selectNewMonthCardTotal(Map<String, Object> param);

    //交押金
    BigDecimal selectPaymentDeposit(Map<String, Object> param);

    //退押金
    BigDecimal selectRefundDeposit(Map<String, Object> param);

    //押金余额
    BigDecimal selectDepositBalance(Map<String, Object> param);

    //充值金额
    BigDecimal selectRecharge(Map<String, Object> param);

    //收入
    BigDecimal selectIncome(Map<String, Object> param);

    //次卡收入
    BigDecimal selectDayCardIncome(Map<String, Object> param);

    //月卡收入
    BigDecimal selectMonthCardIncome(Map<String, Object> param);

    //门店月卡收入
    BigDecimal selectStoreMonthCardIncome(Map<String, Object> param);

    //写入门店统计数据
    int insertStoreDataTotal(List<LpStoreDataTotalTbl> param);

    //门店充值收入
    BigDecimal selectStoreRechargeIncome(Map<String, Object> param);

    //门店月卡张数
    int selectStoreMonthCardNum(Map<String, Object> param);

    //门店次卡张数
    int selectStoreDayCardNum(Map<String, Object> param);
}
